import {IFormLayoutProps} from '@formily/antd-v5';
import {ISchema} from '@formily/react';

export interface GFormLayoutSubmit extends IFormLayoutProps {
  submit?: any;
}

export interface GFormSchema {
  data?: {
    autoload?: boolean;
    url?: string;
    urlLoad?: string;
    methodSubmit?: string;
    methodLoad?: string;
    format?: string;
    include?: any;
    filter?: any;
  };
  layout?: GFormLayoutSubmit;
  fields?: ISchema;
}
